<?php
/**
 * Created by litong on Date: 2018/12/26 0026 上午 9:05
 */
$email="someone@example.com";
$pos=strpos($email,'example');
echo $pos;
if($pos){
  // 会输出
  echo "guest out";
}
?>